using MediatR;
using UniversalAdmin.Application.Common;
using UniversalAdmin.Application.DTOs;

namespace UniversalAdmin.Application.Features.Menus.Queries.GetPagedMenus;

public record GetPagedMenusQuery(
    int PageIndex = 1,
    int PageSize = 10,
    string? Keyword = null,
    bool? IsActive = null,
    int? ParentId = null) : IRequest<ApiResult<PagedResult<MenuFlatDto>>>;